package com.rui.cn.dto;

/**
 * 树形结构对象的父类
 * @author Administrator
 *
 */
public class TreeDto {

	private Integer id;
	private Integer parentid;
	private String title;
	private boolean checked;
	private boolean nocheck;


	public TreeDto (Integer id, Integer parentid, String title){
		this.id=id;
		this.title=title;
		this.parentid=parentid;
	}
	public TreeDto (Integer id,Integer parentid,String title,Boolean checked){
		this.id=id;
		this.checked=checked;
		this.title=title;
		this.parentid=parentid;
	}
	public TreeDto (Integer id,Integer parentid,String title,Boolean checked,Boolean nocheck){
		this.id=id;
		this.checked=checked;
		this.title=title;
		this.parentid=parentid;
		this.nocheck=nocheck;
	}
	public TreeDto (){
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getParentid() {
		return parentid;
	}

	public void setParentid(Integer parentid) {
		this.parentid = parentid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}

	public boolean isNocheck() {
		return nocheck;
	}

	public void setNocheck(boolean nocheck) {
		this.nocheck = nocheck;
	}
}
